#!/bin/bash
cd /usr/local/nagios/libexec/sendemail

to="$1"
subject="alert--$2"
msg="$3"
java -classpath mail.jar:.:activation.jar Report "$to" "$subject" "$msg"
